from module.static_module.parent.view import SubWindowView
import tkinter as tk
from core.constant import *
from tools.view import create_scrolled_text


class FileActionView(SubWindowView):
    def __init__(self, main_window_view):
        super().__init__(main_window_view)
        self.frame = self.main_window_view.file_action_frame
        self.class_name = Module.FileAction.value
        tk.Label(self.frame, text=self.class_name).pack()

        # 创建滑轨文本框
        scrolled_text, self.text = create_scrolled_text(self.frame)
        scrolled_text.pack(expand=True, fill="both")
